﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductTypeManager.aspx.cs" Inherits="Admin_ProductTypeManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
            <style type="text/css">
	<!--
	    body,td,th {
	        font-size: 14px;
        }
	    strong {
	        PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
		    }
	    h2 {
	        FONT-SIZE: 14px
        }
		#column {
		WIDTH: 180px;  margin:0 0 0 0; 
		}
		.module_wrap {
	        height:400px;BORDER-BOTTOM: #bfe6f4 1px solid; BORDER-LEFT: #bfe6f4 1px solid; BORDER-TOP: #bfe6f4 1px solid; BORDER-RIGHT: #bfe6f4 1px solid
		}
		.module_wrap .wrap {
			BACKGROUND: #fff
		}
		.module_wrap H2 {
			POSITION: relative; LINE-HEIGHT: 30px; PADDING-LEFT: 10px; BACKGROUND: url(images/module_wrap_h2_bg.gif) repeat-x; HEIGHT: 31px; COLOR: #333; margin-top:0px;
		}
		
		.wrap_space {
	        PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 10px
        }
        #panelAdd{
            position:absolute; margin-top:100px; margin-left:200px; visibility:hidden; width:300px; height:150px;
            border:1 solid  ;
        }
        #panelAdd div
        {
            border:solid 2 #000000; background-color:#f0f0f0
        }
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
    
    <div id="column" align="left" style="width: 200px">
         <div id="panelAdd" style="left: 0px; top: 0px"   >
            <div  >
            名称：<input type="text" style="width:219px;" /><br />
            <center><input type="button" value="确定" onclick="Hide();" /></center></div>
        </div> 
    <div class="module_wrap">
        <h2><strong>商品类型管理</strong> </h2>
       <div >
       
        <asp:TreeView ID="TreeView1" runat="server" ShowCheckBoxes="All" ShowLines="True">
            <Nodes>
                <asp:TreeNode Checked="True" Text="全部服装" Value="0">
                    <asp:TreeNode Text="套头衫" Value="套头衫">
                        <asp:TreeNode Text="羊绒" Value="羊绒">
                            <asp:TreeNode Text="单边" Value="单边"></asp:TreeNode>
                            <asp:TreeNode Text="提花" Value="提花"></asp:TreeNode>
                            <asp:TreeNode Text="扭绳" Value="扭绳"></asp:TreeNode>
                        </asp:TreeNode>
                        <asp:TreeNode Text="羊毛" Value="羊毛"></asp:TreeNode>
                        <asp:TreeNode Text="亚麻" Value="亚麻"></asp:TreeNode>
                        <asp:TreeNode Text="面纱" Value="面纱"></asp:TreeNode>
                    </asp:TreeNode>
                    <asp:TreeNode Text="开胸衫" Value="开胸衫"></asp:TreeNode>
                    <asp:TreeNode Text="毛衣裙" Value="毛衣裙"></asp:TreeNode>
                    <asp:TreeNode Text="背心" Value="背心"></asp:TreeNode>
                    <asp:TreeNode Text="披肩" Value="披肩"></asp:TreeNode>
                    <asp:TreeNode Text="裤子" Value="裤子"></asp:TreeNode>
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
        
        </div>
      </div>
      <input type="button" value="增加子节点" onclick="Show()" />
      <input type="button" value="编辑" onclick="Show()" />
      <input type="button" value="删除" onclick="alert('删除成功')" />
      
     </div>

    </form>
    
    <script language ="javascript" type="text/javascript" >
        function Show()
        {
            document.getElementById("panelAdd").style.visibility = "visible";
        }  
        function Hide()
        {
            document.getElementById("panelAdd").style.visibility = "hidden";
        }  
    </script>
</body>

</html>
